package com.liu.helloworldsecurity.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author liuShanYang * @Date 2025 06 13 17 23
 **/
@Data
public class LoginRequest {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
